package com.itheima.day_3;

import com.itheima.day_3.fac.bf;
import com.itheima.day_3.u.bb;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class appb {
    public static void main(String[] args) {
//        bf bf = new bf();
//        bb getccc = bf.getc();
//        getccc.ccc();
        ApplicationContext cxl = new ClassPathXmlApplicationContext("applicationContext.xml");
        bb bf = (bb) cxl.getBean("bb");
        bf.ccc();
    }
}
